package com.mybatis.mp.scenery.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 玩乐产品
 * </p>
 *
 * @author baiye
 * @since 2020-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TActivity对象", description="玩乐产品")
public class TActivity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "玩乐产品id")
    private Integer activityId;

    @ApiModelProperty(value = "产品名称")
    private String name;

    @ApiModelProperty(value = "英文名称")
    private String enName;

    @ApiModelProperty(value = "市场价")
    private Integer marketPrice;

    @ApiModelProperty(value = "分销价格")
    private Integer price;

    @ApiModelProperty(value = "携程卖价")
    private Integer ctripPrice;

    @ApiModelProperty(value = "产品类型 ID")
    private Integer categoryId;

    @ApiModelProperty(value = "产品类型名称")
    private String categoryName;

    @ApiModelProperty(value = "产品地址")
    private String address;

    @ApiModelProperty(value = "产品图片")
    private String image;

    @ApiModelProperty(value = "是否国内")
    private Boolean isDomestic;

    @ApiModelProperty(value = "提前预订天数，根据资源计算得出")
    private Integer advanceBookingDays;

    @ApiModelProperty(value = "提前预订时间，根据资源计算得出")
    private String advanceBookingTime;

    @ApiModelProperty(value = "是否上线")
    private Boolean isOnline;

    @ApiModelProperty(value = "是否有效")
    private Boolean isActive;

    @ApiModelProperty(value = "玩乐介绍")
    private String description;

    @ApiModelProperty(value = "支付方式 1:现付 2:预付 3:现付预付都有")
    private Boolean payMode;

    @ApiModelProperty(value = "产品经理推荐")
    private String recommend;

    @ApiModelProperty(value = "产品附加信息 购买须知")
    private String notice;

    @ApiModelProperty(value = "活动时长")
    private String activityTime;

    @ApiModelProperty(value = "版本")
    private Integer version;

    @ApiModelProperty(value = "是否有加成 0为不是 1为是")
    private Boolean isAddition;

    @ApiModelProperty(value = "是否更新")
    private Boolean isUpdated;

    @ApiModelProperty(value = "热度")
    private Integer hot;

    @ApiModelProperty(value = "手动添加热度")
    private Integer addHot;

    @ApiModelProperty(value = "是否推荐到首页")
    private Boolean isRecommendHome;

    @ApiModelProperty(value = "频道首页图片")
    private String homeLogo;

    @ApiModelProperty(value = "'是否推荐到首页小图")
    private Boolean isRecommendHomeS;

    @ApiModelProperty(value = "频道首页小图")
    private String homeLogoS;

    @ApiModelProperty(value = "是否推荐到网站首页")
    private Boolean isRecommendSite;

    @ApiModelProperty(value = "网站首页图")
    private String siteLogo;

    @ApiModelProperty(value = "1草稿 2上架 3自动下架 4人为下架")
    private Boolean status;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;


}
